package com.zby.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum StatusEnum implements BaseEnum {
    ARTICLE_STATUS_ENUM(0, "草稿"),
    ARTICLE_STATUS_ENUM_1(1, "已发布"),
    ARTICLE_STATUS_ENUM_2(2, "已删除"),
    STATUS_ENUM_3(3, "未审核"),
    STATUS_ENUM_4(4, "已审核");

    @EnumValue
    private final Integer code;

    @JsonValue
    private final String name;
}
